package com.agstar.demo.observer;

import com.google.common.eventbus.AllowConcurrentEvents;
import com.google.common.eventbus.Subscribe;

/**
 * @author agstar
 * @date 2020/4/24 16:46
 */
public class GuavaEvent {

    @Subscribe
    @AllowConcurrentEvents
    public void subscribe(String str){
        System.out.println("exec subscribe ,param:"+str);
    }

}
